<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<script language="JavaScript">
function ok()
{
  document.form1.textfield.value="路由当前在线人数：51";
}
function ok1()
{
document.form2.textfield2.value="重启中，请稍后……";
}
</script>
<body>
<form name="form1" method="post" action="">
  <input type="text" name="textfield">
  <input type="button" name="Submit" value="获取路由在线人数" onClick="ok()">
</form>
<form name="form2" method="post" action="">
  <input type="text" name="textfield2">
  <input type="button" name="Submit" value="点击重启路由" onClick="ok1()">
</form>
</body>
</html>